package org.wmq.shopmodel.Entity.product;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.wmq.shopmodel.Entity.base.BaseEntity;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Product extends BaseEntity {
    private String name;
    private Long brandId;
    private Long category1Id;
    private Long category2Id;
    private Long category3Id;
    private String unitName;
    private String sliderUrls;
    private String specValue;
    private Byte status;
    private Byte auditStatus;
    private String auditMessage;
    @TableField(exist = false)
    private String category1Name;
    @TableField(exist = false)
    private String category2Name;
    @TableField(exist = false)
    private String category3Name;
    @TableField(exist = false)
    private List<ProductSku> productSkuList;
    @TableField(exist = false)
    private String detailsImageUrls;
}
